package com.tenement.service;

import com.tenement.domain.TenementSector;
import com.tenement.domain.TenementUser;

import java.util.List;

/**
 * @ClassName : SectorService  //类名
 * @Description : 区域服务接口  //描述
 * @Author : 易嵘  //作者
 * @Date: 2020-06-07 10:44  //时间
 */
public interface SectorService {

    List<TenementSector> findAll(TenementSector sector, Integer page, Integer limit, String startDate, String endDate);

    List<TenementSector> selectAll();

    Long overCount(TenementSector sector, String startDate, String endDate);

    int add(TenementSector sector, TenementUser user);

    int deleteById(String id);

    int deleteAll(String[] ids);

    TenementSector findById(String id);

    int update(TenementSector sector, TenementUser user);
}
